package com.lap.auth.application.region.command;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "批量更新区域命令")
public class BatchCreateRegionCmd extends RegionBaseCmd {

  @Valid
  @NotEmpty
  @Schema(description = "子区域")
  private List<UpdateRegionCmd> children;
}
